<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登录</title>
<style type="text/css">
body {
	background-image: url("imag/beijin.jpg");
}

.top {
	margin-top: 10px;
}

.bottom {
	margin-top: 200px;
}

.margin-top {
	margin-top: 250px;
}
</style>
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
</head>
<body>
	<div class="container">
		<ul class="nav nav-pills col-md-offset-3">
			<li class="nav-item"><a class="nav-link active" href="#">首页</a>
			</li>
			<li class="nav-item"><a class="nav-link" href="index.jsp">给我留言</a>
			</li>
			<li class="nav-item"><a class="nav-link" href="messagebook.jsp">留言本</a>
			</li>
			<li class="nav-item"><a class="nav-link" href="login.jsp">管理</a>
			</li>
			<li class="nav-item"><a class="nav-link disabled" href="#">关于我们</a>
			</li>
		</ul>
		<div class="margin-top">
			<form action="loginServlet" method="post">
				<div class="row">
					<label class="col-md-1 col-md-offset-3">用户名</label> <input
						class="col-md-2" type="text" name="userName" placeholder="请输入用户名">&nbsp;
					${requestScope.userName}${requestScope.Error}
				</div>
				<div class="row top">
					<label class="col-md-1 col-md-offset-3">密码</label> <input
						class="col-md-2" type="text" name="passWord" placeholder="请输入密码">&nbsp;
					${requestScope.passWord}
				</div>
				<div class="row top">
					<button class="col-md-offset-4" type="submit">登录</button>
					<button type="reset">重置</button>
				</div>
			</form>
		</div>
	</div>
	<div class="container bottom">
		<p class="col-md-offset-4">
			<strong>版权所有：</strong>简易留言本&nbsp;©2018
		</p>
	</div>
</body>
</html>